﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Controls/HomePage.master" AutoEventWireup="true" CodeFile="News.Detail.aspx.cs" Inherits="Pages_News_Detail" %>

<%@ OutputCache Duration="180" Location="Any" VaryByParam="*" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="cottrai">
        <div class="menu_c2">
            <asp:Repeater runat="server" ID="rptSubCate">
                <HeaderTemplate>
                    <ul>
                </HeaderTemplate>
                <ItemTemplate>
                    <li><a href="<%# AppUtils.CateReWriteUrl(int.Parse(Eval("CateID").ToString()),Eval("Name").ToString()) %>" <%# int.Parse(Eval("CateID").ToString()) == cateID ? " class='active'" : "" %>><%# Eval("Name") %></a></li>
                    <li>|</li>
                </ItemTemplate>
                <FooterTemplate></ul></FooterTemplate>
            </asp:Repeater>
            <div class="clear"></div>
        </div>

        <div class="baiviet">
            <h2>
                <asp:Literal ID="lblTitle" runat="server"></asp:Literal></h2>
            <fb:like id="likeIframe" href="" width="450" height="35" colorscheme="light" layout="standard" action="like" show_faces="false" send="true"></fb:like>
            <div class="spanTime">
                <asp:Literal ID="ltDatePublished" runat="server"></asp:Literal>
            </div>
            <h4>
                <asp:Literal ID="ltrLead" runat="server"></asp:Literal></h4>
            <ul class="list_baiviet">
                <asp:Repeater runat="server" ID="rptNewsRelated">
                    <ItemTemplate>
                        <li><a href="<%=Constant.HOME_PATH %><%#Eval("Url")%>"><%#Eval("Title")%></a></li>
                    </ItemTemplate>
                </asp:Repeater>
            </ul>
            <p>
                <br />
                <asp:Literal ID="ltrContent" runat="server"></asp:Literal>
            </p>
            <div class="clear"></div>
        </div>
        <!--end baiviet-->

        <div class="tag">
            <strong>TAGS:</strong>
            <asp:Literal ID="ltrTags" runat="server"></asp:Literal>
        </div>

        <div class="qc_baiviet">
            <img src="/resources/images/c5.jpg" />
        </div>

        <asp:Panel ID="Panel1" Visible="false" runat="server">
            <div class="ykien">
                <div class="box1_ykien">
                    <div class="yk_title1"><span>Ý kiến bạn đọc</span> (0 Comments)</div>
                    <div class="yk_title2"><span>Gửi ý kiến của bạn</span></div>
                    <div class="gui_yk">
                        <asp:TextBox ID="txtFullName" runat="server" Width="292px"></asp:TextBox>
                        <asp:TextBox ID="txtEmail" runat="server" Width="290px"></asp:TextBox>
                        <%--<input type="text" style="width: 292px" value="Họ tên"  /><input type="text" style="width: 290px" value="Email" /><div class="clear"></div>--%>
                    </div>
                    <div class="gui_yk">
                        <asp:TextBox ID="txtContent" CssClass="box_ykien_textarea" TextMode="MultiLine" Rows="6" runat="server"></asp:TextBox>
                        <%--<textarea name="" cols="" rows="4" id="txtContent"></textarea>--%><div class="clear"></div>
                    </div>
                    <div class="gui_yk">
                        <asp:TextBox ID="txtCaptcha" Style="text-transform: uppercase;" runat="server" Width="100px"></asp:TextBox>
                        <%--<input name="txtCaptcha" id="txtCaptcha" type="text" style="width: 100px" value="Mã xác nhận" />--%><img alt="loading..." src="/Handler/captcha.ashx?0.4892926585044838" id="imgCaptcha" /><div class="clear"></div>
                    </div>
                    <div class="gui_yk">
                        <ul>
                            <li>
                                <asp:Button ID="btComment" runat="server" Width="120px" CssClass="box_ykien_button" OnClick="btComment_Click" Text="GỬI THÔNG TIN" /></li>
                            <%--<li><a href="#">Nhập lại</a></li>--%>
                        </ul>
                        <div class="clear"></div>
                    </div>
                </div>
            </div>
            <!-- end box1 -->
        </asp:Panel>

        <div class="clear"></div>

        <div class="list_tincu">
            <div class="ke_mau">
                <p style="width: 20%"></p>
            </div>
            <div class="title tit2">BÀI ĐÃ ĐĂNG</div>
            <ul class="list1" style="padding: 0 0 0 15px;">
                <asp:Repeater runat="server" ID="rptList">
                    <ItemTemplate>
                        <li><a href="<%#Eval("Url")%>"><%#Eval("Title")%></a></li>
                    </ItemTemplate>
                </asp:Repeater>
            </ul>
        </div>
        <!--end list_tincu-->

        <%--<div class="doitac">
            <div class="title tit11">TÀI TRỢ - ĐỐI TÁC</div>
            <div class="box_doitac">
                <ul class="doitac_lg">
                    <li>
                        <img src="/resources/images/nh1.jpg" /></li>
                    <li>
                        <img src="/resources/images/nh2.jpg" /></li>
                    <li>
                        <img src="/resources/images/nh3.jpg" /></li>
                </ul>
                <div class="clear"></div>
                <ul class="doitac_tl">
                    <li><a href="#">
                        <img src="/resources/images/tl.jpg" border="0" /></a></li>
                    <li><a href="#">
                        <img src="/resources/images/t.jpg" border="0" /></a></li>
                </ul>
                <div class="clear"></div>
            </div>

        </div>--%>
        <!--end doitac-->
    </div>
    <ajaxToolkit:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender1" runat="server" TargetControlID="txtFullName" WatermarkText="Họ tên" />
    <ajaxToolkit:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender2" runat="server" TargetControlID="txtEmail" WatermarkText="Email" />
    <ajaxToolkit:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender3" runat="server" TargetControlID="txtContent" WatermarkText="Nội dung phản hồi" />
    <ajaxToolkit:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender4" runat="server" TargetControlID="txtCaptcha" WatermarkText="Mã xác nhận" />
    <script type="text/javascript">
        $(document).ready(function () {
            $('#likeIframe').attr('href', document.URL);
        });
    </script>
</asp:Content>

